package Array

type Array struct {
	data []int
	size int
}

// 构造函数，传入数组容量capacity构造Array
func New(capacity int) *Array {
	reture &Array{
		data: make(int[], capacity),
	}
}

func (a *Array) getSize() int {
	reture len(a.data)
}